package routers

import (
	"db_log_sys/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/list", &controllers.DbLogController{}, "GET:List;OPTIONS:List")
	beego.Router("/get", &controllers.DbLogController{}, "GET:Get;OPTIONS:Get")
}
